projects
/
feed
/
routing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
502d123
)
batman-adv: Drop compat-hack for netif_trans_update
author
Sven Eckelmann
<
[email protected]
>
Fri, 22 Feb 2019 19:19:42 +0000
(20:19 +0100)
committer
Sven Eckelmann
<
[email protected]
>
Fri, 22 Feb 2019 19:22:22 +0000
(20:22 +0100)
netif_trans_update is already defined by the mac80211's backports and
doesn't have to be redefined in the compat-hacks.h.
Signed-off-by: Sven Eckelmann <
[email protected]
>
batman-adv/src/compat-hacks.h
patch
|
blob
|
history
diff --git
a/batman-adv/src/compat-hacks.h
b/batman-adv/src/compat-hacks.h
index 748ba1d0ff91c8b96aff9e521b1618f063d65b18..217f4d1584aea05ba9a7a3555983a50ac459daa5 100644
(file)
--- a/
batman-adv/src/compat-hacks.h
+++ b/
batman-adv/src/compat-hacks.h
@@
-104,20
+104,6
@@
batadv_ethtool_get_link_ksettings(struct net_device *dev,
#endif /* < KERNEL_VERSION(4, 6, 0) */
-#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 7, 0)
-
-#ifdef netif_trans_update
-#undef netif_trans_update
-#endif
-
-#define netif_trans_update batadv_netif_trans_update
-static inline void batadv_netif_trans_update(struct net_device *dev)
-{
- dev->trans_start = jiffies;
-}
-
-#endif /* < KERNEL_VERSION(4, 7, 0) */
-
#include_next <linux/netlink.h>